<template>
  <div
    id="view-image-in"
    :style="{ width: width * 500 + 'px' }"
    class="z-99999999"
  >
    <div class="text-right">x</div>
    <img :src="url" />
  </div>
</template>
<script>
export default {
  props: {
    url: {
      type: String,
      default: ''
    }
  },
  data() {
    return {
      width: 1
    }
  }
}
</script>
<style scoped>
.z-99999999 {
  z-index: 99999999;
}
#view-image-in {
  position: fixed;
  top: 0;
  right: 0;
}
</style>
